package com.bocai.kelala.util;

import java.util.Comparator;

/**
 * 作者 yuanfei on 2017/3/10.
 * 邮箱 yuanfei221@126.com
 */

public class CusttomComparator implements Comparator {
    @Override
    public int compare(Object o1, Object o2) {
        String   str1   =   o1.toString().toUpperCase();
        String   str2   =   o2.toString().toUpperCase();
        return   str1.compareTo(str2);
    }
}
